package com.tuyan.aixiang.model;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Event implements Serializable {

    public Event( Integer type) {
        this.type = type;
    }

    public Event() {}

    private Integer type;

    private String stringExtra;

    private Integer intExtra;

    private Object objectExtra;

    private Boolean booleanExtra;

    public static class EventType{
        public static final Integer NEW_MSG = 1;
    }

}
